﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace word.others
{
    public partial class ChooseSeason : Form
    {
        
        public ChooseSeason()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            lbl_asualt.Text = null;
            for (int i = 0; i < CB_list.Items.Count; i++)
            {
                String asualt = CB_list.GetItemChecked(i) ? (String)CB_list.Items[i] + "，": "";
                lbl_asualt.Text += asualt;
                if (i == 3)
                {
                    lbl_asualt.Text = lbl_asualt.Text.Substring(0, lbl_asualt.Text.Length - 1);
                }
            }
            
        }
    }
}
